Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
rdlc.hw.Expression

Packages that use Expression
rdlc.hw | This package contains all the classes to transform an RDL design into a hardware design.
rdlc.hw.verilog | Classes for turning an abstract hardware design into Verilog.

Uses of Expression in rdlc.hw

Classes in rdlc.hw that implement Expression
`class` | `Expression_Constant` A constant integer expression.
`class` | `Expression_Operation` Encodes an expression which requires actual computation in hardware.
`class` | `Expression_Parameter` An expression which simply references a parameter.
`class` | `Expression_Wire` An expression which simply references a wire.

Fields in rdlc.hw declared as Expression
`protected Expression` | `ModuleLogic.exp` The value being assigned to the target.
`protected Expression` | `ModuleLogic.target` The target of this assignment, it is an expression because a concatentation is a valid lvalue.
`protected Expression` | `ModuleParameter.value` The expression which at runtime determines the default value of this parameter.
`protected Expression` | `ModuleWire.width` The bitwidth of this wire.

Fields in rdlc.hw with type parameters of type Expression
`protected java.util.List<Expression>` | `Expression_Operation.arguments` A list of the arguments to the given operation.
`protected java.util.Hashtable<java.lang.String,Expression>` | `ModuleInstance_Indirect.connections` Hashtable of port names to expressions.
`protected java.util.List<Pair<Expression,java.util.List<java.lang.Integer>>>` | `ModuleInstance_Standard.MessageStruct_Variable.crossProduct` The cross product list, this represents the most complicated part of the packing and unpacking.
`protected Catalog<Expression,Expression>` | `ModuleMux.muxCatalog` A catalog of select matches to result expressions.
`protected Catalog<Expression,Expression>` | `ModuleMux.muxCatalog` A catalog of select matches to result expressions.
`protected java.util.Hashtable<java.lang.String,Expression>` | `ModuleInstance_Indirect.parameters` Hashtable of parameter names to expressions.
`protected java.util.Hashtable<Expression,java.lang.Integer>` | `ModuleInstance_Standard.Message_Variable.tag2Width` Map from tag expression to bit widths.

Methods in rdlc.hw that return Expression
`Expression` | `Expression_Operation.getArgument(int index)` Simple accessor.
`Expression` | `ModuleLogic.getExpression()` Simple accessor.
`Expression` | `ModuleLogic.getTarget()` Simple accessor.
`Expression` | `ModuleParameter.getValue()` Simple accessor.
`Expression` | `ModuleWire.getWidth()` Simple accessor.
`Expression` | `ModuleInstance_Standard.Message_Fixed.getWidthExpr(int widthBits, int tagWidth)` Simple accessor.
`Expression` | `ModuleInstance_Standard.Message_Variable.getWidthExpr(int widthBits, int tagWidth)`

Methods in rdlc.hw that return types with arguments of type Expression
`java.util.Hashtable<java.lang.String,Expression>` | `ModuleInstance_Indirect.getConnections()` Simple accessor.
`Catalog<Expression,Expression>` | `ModuleMux.getMuxCatalog()` Simple accessor.
`Catalog<Expression,Expression>` | `ModuleMux.getMuxCatalog()` Simple accessor.
`java.util.Hashtable<java.lang.String,Expression>` | `ModuleInstance_Indirect.getParameters()` Simple accessor.

Methods in rdlc.hw with parameters of type Expression
`void` | `Expression_Operation.addArgument(Expression _arg)` Add an argument to this expression.
`protected void` | `ModuleInstance_Standard.MessageStruct_Variable.addToCrossProduct(Expression tagExpr, int fieldWidth, java.util.List<Pair<Expression,java.util.List<java.lang.Integer>>> oldCrossProduct)` Add a new tag expression and field width to the cross product.
`static Expression_Operation` | `Expression_Operation.and(Expression arg1, Expression arg2)` Create an expression representing a bitwise and.
`static Expression_Operation` | `Expression_Operation.and(Expression arg1, Expression arg2, Expression arg3)` Create an expression representing a bitwise and.
`static Expression_Operation` | `Expression_Operation.concatenate(Expression arg1, Expression arg2)` Create an expression representing a bit list concatentation.
`static Expression_Operation` | `Expression_Operation.concatenate(Expression arg1, Expression arg2, Expression arg3)` Create an expression representing a bit list concatentation.
`void` | `ModuleInstance_Indirect.connect(java.lang.String port, Expression expression)` Connect the given port to the given expression.
`void` | `ModuleInstance_Indirect.defParam(java.lang.String paramName, Expression value)` Define a parameter on this module instance.
`abstract void` | `ModuleInstance_Standard.Message_Fixed.generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)` Generate the unpacking logic for this message object.
`void` | `ModuleInstance_Standard.MessageSimple.generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)`
`void` | `ModuleInstance_Standard.MessageStruct_Fixed.generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)`
`void` | `ModuleInstance_Standard.MessageUnion_Fixed.generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)`
`void` | `ModuleInstance_Standard.MessageStruct_Variable.generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)`
`void` | `ModuleInstance_Standard.MessageUnion_Variable.generateUnpack(Expression source, ModuleWireGroup unpackWireGroup)`
`static Expression_Operation` | `Expression_Operation.minus(Expression arg1, Expression arg2)` Create an expression representing a subtraction.
`static Expression_Operation` | `Expression_Operation.not(Expression arg)` Create an expression representing a bitwise not.
`static Expression_Operation` | `Expression_Operation.or(Expression arg1, Expression arg2)` Create an expression representing a bitwise or.
`static Expression_Operation` | `Expression_Operation.or(Expression arg1, Expression arg2, Expression arg3)` Create an expression representing a bitwise or.
`static Expression_Operation` | `Expression_Operation.plus(Expression arg1, Expression arg2)` Create an expression representing an addition.
`void` | `ModuleMux.put(Expression match, Expression result)` Add a new match and result pair to this mux.
`static Expression_Operation` | `Expression_Operation.replicate(int count, Expression arg2)` Create an expression representing a bit list replication.
`static Expression_Operation` | `Expression_Operation.select(Expression bus, int max, int min)` Create an expression representing a bit selection.
`static Expression_Operation` | `Expression_Operation.shiftLeft(Expression value, Expression shAmt)` Create an expression representing a logical shift left.
`static Expression_Operation` | `Expression_Operation.shiftRight(Expression value, Expression shAmt)` Create an expression representing a logical shift right.

Method parameters in rdlc.hw with type arguments of type Expression
`protected void` | `ModuleInstance_Standard.MessageStruct_Variable.addToCrossProduct(Expression tagExpr, int fieldWidth, java.util.List<Pair<Expression,java.util.List<java.lang.Integer>>> oldCrossProduct)` Add a new tag expression and field width to the cross product.

Constructors in rdlc.hw with parameters of type Expression
`Expression_Operation(int _operation, Expression _arg0)` Simple constructor.
`Expression_Operation(int _operation, Expression _arg0, Expression _arg1)` Simple constructor.
`Expression_Operation(int _operation, Expression _arg0, Expression _arg1, Expression _arg2)` Simple constructor.
`ModuleLogic(Expression _target, Instance _instance, Expression _exp)` Simple constructor, records the given arguments.
`ModuleLogic(ModuleWire _target, Instance _instance, Expression _exp)` Simple constructor, records the given arguments.
`ModuleMux(Expression _target, Instance _instance, Expression _exp)` Simple constructor, records the given arguments.
`ModuleMux(ModuleWire _target, Instance _instance, Expression _exp)` Simple constructor, records the given arguments.
`ModuleParameter(java.lang.String _name, Instance _instance, Expression _value, boolean _local)` Simple constructor, merely records the given values.
`ModuleWire(java.lang.String _name, Instance _instance, Expression _width, ModuleWire.Type _type, java.lang.String _attribute)` Create a wire with the given name and type.

Uses of Expression in rdlc.hw.verilog

Methods in rdlc.hw.verilog with parameters of type Expression
`protected java.lang.String` | `OutputFile.toString(Expression expression, boolean includeBitWidth)` Convert the given HDL expression to it's equivalent verilog string.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES